package com.ssm.Service;

import com.ssm.Dao.shopListDao;

import java.util.List;

public class shopListService {

    public List<Object> shopList(String name){

        shopListDao shopListDao=new shopListDao();

        List<Object> shop = shopListDao.shop(name);

//        for(Object object1:shop){
//            Object[] o= (Object[]) object1;
//            for(Object object2:o){
//                System.out.println(object2.toString());
//            }
//        }

        return shop;
    }

}
